Feat: Added STEP Support, Material UI, Custom Thumbnails and more#21
Merged
Conversation
initial Material UI integration migrated model-list cards to Material UI
fixed drag n' drop layout / functionality
migrated checkboxes to Material UI
fixed background color to follow Material theme
Migrated Treeview to MUI X TreeView feature parity with old tree, but different controls. Notable Changes: - Edit label is now on Double click - Creating subfolders now uses root folder input field (not spawning a new field under the current folder anymore) - Removed count badge as it seemed useless (could be reintegrated) - Edit buttons now truncate the folder label instead of overlapping it, and they are permanently visible -Expansion of the tree now is only triggered by the expansion icon, selection is triggered by label click - Expansion of the tree does not yet follow the current folder we're in. (it needs the imperative API to control the tree, but it's quite some work and alot of code, deemed unnecessary for now)
added custom scrollbar via globals.css implemented back button for future navigation feature
Updated the dashboard preview image in the README.
changed setting background to match theme
changed 3D viewer background to black
Updated screenshots in the README for better clarity.
added occt-import-js as dependency hopefully slightly improved thumbnail generation
… what's been filtered by the search, not everything in the folder)
fixed click propagation on model card button shortcuts
Merge pull request #20 from moddroid94/mui-refactor
Updated 3D Preview and Roadmap sections to include STEP file support.
…control or limited rotation (needs work on reset of model center on switch) fix(frontend):fixed alert spam if API not set.
… with current edit flow When editing now a button appears in the top left of the viewer, allowing to take a screenshot of the state of the viewer, the result image is directly sent to the thumbnail field preview and ready to be saved. you can clear the generated thumbnail to avoid saving it using the button at below the preview
…, just parent folder for now) fix(frontend): fixes to layout and drag n drop functionality in empty folders
Added a feature for generating custom thumbnails from the 3D viewer or uploading an image.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feat: Added STEP Support, Material UI, custom Thumbnails and more
Notable Changes:
Migrates the UI to the Material UI library (Not modals yet.)
Adds STEP Preview and Thumbnail support
Implemented a dual orbit controls in the viewer, this allows for full rotation around the object without hard lock on the poles.
(It is not yet 'hot-swappable', it will loose/not reset some reference to the world space and bug out, just close and reopen the model and select the orbit method before moving the object)
Adds a custom thumbnails feature and generator based on the actual 3D Viewer.
When editing a model you can now take a "screenshot" of the viewer to be used as a thumbnail (for example on bad rotated models) or you can upload an image.
More QoL improvements and fixes.
Most notably:
-A back button to go up a folder. ( Real native back navigation Coming Soon™ )
-Folder Name now shows at the top instead of "model library"
-Quick Action buttons on the card.
-The model details panel now shows the actual filename on the fs along with the title.